list1 = [i for i in range(1, 11)]
print(list1)
# 需求: 1-10列表里面的元素的立方
list2 = [i**3 for i in range(1,11)]
print(list2)

list3 = ['hello 武汉' for i in range(2)]
print(list3)


list4 = ['name' + str(i) for i in range(1, 7)]
print(list4)

# 快速获取1-100的奇数
list5 = [i for i in range(1, 101) if i % 2 != 0]
print(list5)
# 快速获取1-100的偶数
list6 = [i for i in range(1, 101) if i % 2 == 0]
print(list6)
list7 = [(i, k) for i in range(1, 3)for k in range(1,4)]
print(list7)